<?php
if ($do === 'addProg') {
   mysql_query (" 
      INSERT INTO 
      `program` SET
      `starttime`='".$_REQUEST[starttime]."',
      `endtime`='".$_REQUEST[endtime]."',
      `weekday`='".$_REQUEST[weekday]."',
      `category`='".$_REQUEST[category]."'
       ") or die(mysql_error());
}
?>

<form>
<fieldset><legend>Display Options</legend>
</fieldset>
</form>
<form action="?mode=progSched" method="post"><fieldset><legend>Add Program</legend>
Weekday: <select name="weekday">
<option value="1">Monday</option>
<option value="2">Tuesday</option>
<option value="3">Wednesday</option>
<option value="4">Thursday</option>
<option value="5">Friday</option>
<option value="6">Saturday</option>
<option value="7">Sunday</option>
</select>
Start Time: <input type="text" name="starttime" id="starttime" /><br />
End Time:  <input type="text" name="endtime" /><br />
Category:  <input type="text" name="category" /><br />
DJs:  <input type="text" name="dj1" />
<input type="hidden" name="do" value="addProg" />
<input type="submit" value="add program" /><br />


</fieldset>
</form>
<br />
<?php
?>